#include "StdAfx.h"
#include "AnalogTrunk.h"
#include "TinyServerDefine.h"

namespace HAL {
	CAnalogTrunk::CAnalogTrunk(void)
	{
		m_CardID =0;
		extNumber = "";
		m_CardType = "";
		m_CardSN  = "";
		m_ChannelID = 0;
	}

	CAnalogTrunk::~CAnalogTrunk(void)
	{
	}
	void CAnalogTrunk::pickup()
	{
		//send msg to cardserver
		/*TinyCC::msg::CTinyMsg msg;
		msg.setMsgIndex();
		msg.setMsgItem();
		msg.setDefaultParam();
		msg.setDefaultParam();

		g_TinyTCPIF.sendMsg(m_SocketID,msg);*/
		
	}
	bool CAnalogTrunk::playVoice(const std::string & voicefile)
	{
		//send msg to cardserver
		/*TinyCC::msg::CTinyMsg msg;
		msg.setMsgIndex();
		msg.setMsgItem();
		msg.setDefaultParam();
		msg.setDefaultParam();

		g_TinyTCPIF.sendMsg(m_SocketID,msg);*/
		return false;
	}
}